﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DataManager.BLL;

namespace FILMEK.GUI
{
    public partial class frmAdmin : Form
    {
        public FilmManager manager; 

        public frmAdmin(FilmManager manager)
        {
            InitializeComponent();
            this.manager = manager;
        }

        private void btEladasInfok_Click(object sender, EventArgs e)
        {
            frmEladasInfok _frmEInfok = new frmEladasInfok(manager);
            this.Hide();
            _frmEInfok.ShowDialog();
            this.Close();
        }

        private void btVasarlok_Click(object sender, EventArgs e)
        {
            frmVasarlokalMuveletek _frmVMuveletek = new frmVasarlokalMuveletek(manager);
            this.Hide();
            _frmVMuveletek.ShowDialog();
            this.Close();
        }

        private void btAlaklmazottak_Click(object sender, EventArgs e)
        {
            frmEladok _frmEladok = new frmEladok(manager);
            this.Hide();
            _frmEladok.ShowDialog();
            this.Close();
        }


    }
}
